//
//  SDSelectableCell.h
//  SDNestedTablesExample
//
//  Created by Bindx on 3/24/14.
//
//

#import <UIKit/UIKit.h>

@class SDNestedTableViewController;

typedef enum
{
    Unchecked = 0,
    Checked,
    Halfchecked,
}
SelectableCellState;

@interface SDSelectableCell : UITableViewCell
{
    IBOutlet UIView *checkBox;
    
    UIImageView *onCheckBox;
    IBOutlet UIImageView *offCheckBox;
    
    IBOutlet UIView *tapTransitionsOverlay;
}

@property (nonatomic,retain) IBOutlet UILabel *itemText;
//@property (retain, nonatomic) IBOutlet UIImageView *sub_uface;
//@property (nonatomic) NSString *userid;


@property (nonatomic, assign) SDNestedTableViewController *parentTable;
@property (nonatomic) SelectableCellState selectableCellState;

- (SelectableCellState) toggleCheck;
- (void) check;
- (void) uncheck;
- (void) halfCheck;

- (void) styleEnabled;
- (void) styleDisabled;
- (void) styleHalfEnabled;
- (void) tapTransition;

- (void) setupInterface;

@end
